package Plugin
{
	import Objects.GameObject;

	public class ClickPlugin extends GamePlugin
	{
		public var go:GameObject;
		public var clickHandler:Function;
		public function ClickPlugin()
		{
			super();
		}
		override protected function _update():void
		{
			if(go.mHit)
			{
				clickHandler();
			}
		}
	}
}